//
//  CustomVolumeControlView.h
//  VideoPlayerExample
//
//  Created by Lin Eidan on 13-7-30.
//  Copyright (c) 2013年 taomee. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "SliderControlView.h"

@protocol CustomVolumeViewDelegate;

@interface CustomVolumeControlView : UIView<SliderControlDelegate>

@property(strong, nonatomic) SliderControlView *volumeSlider;
//@property(strong, nonatomic) UIButton *muteBtn;
@property(weak, nonatomic) id<CustomVolumeViewDelegate>delegate;

- (id)initWithFrame:(CGRect)frame andDelegate:(id)delegate;

//从外部设置值
-(void)customVolumeViewSetValue:(float )value;
-(float)customVolumeViewGetValue;

@end

@protocol CustomVolumeViewDelegate <NSObject>

@optional
-(void)customVolumeViewValueChangeing:(float)value;
-(void)customVolumeViewValueChangeedAndStop:(float)value;
-(void)customVolumeViewValueChangeedAndIsMute:(BOOL)isMute;

@end